package com.lantosec.hmrp.modules.workflow.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "工作流节点自定义属性对象", description = "工作流节点自定义属性对象")
public class CustomAttributeVO {

    /*@ApiModelProperty(value = "流程实例Id")
    private String processInstanceId;

    @ApiModelProperty(value = "任务Id")
    private String taskId;*/

    @ApiModelProperty(value = "表单ID")
    private String formTableId;

    @ApiModelProperty(value = "表单布局ID")
    private String formLayoutId;

    @ApiModelProperty(value = "操作人设置JSON")
    private String operator;

    @ApiModelProperty(value = "是否指派（0 否，1 是）")
    private String isAssignee;

    @ApiModelProperty(value = "是否回退（0 否，1 是）")
    private String isBack;

    @ApiModelProperty(value = "是否终止（0 否，1 是）")
    private String isClose;

    @ApiModelProperty(value = "任务执行之前执行的事件")
    private String beforeEvent;

    @ApiModelProperty(value = "任务执行之后执行的事件")
    private String afterEvent;

    @ApiModelProperty(value = "是否开启自动流转（0 否，1 是）")
    private String isAutoComplete;

    @ApiModelProperty(value = "转发设置JSON")
    private String relay;

    @ApiModelProperty(value = "提醒设置JSON")
    private String notice;

    @ApiModelProperty(value = "是否显示签名（0 否，1 是）")
    private String isSignature;

    @ApiModelProperty(value = "分支流程参数字段名数组设置")
    private String variableNames;

    @ApiModelProperty(value = "会签设置JSON")
    private String countersign;

    @ApiModelProperty(value = "是否回写（0 否，1 是）")
    private String isWriteBack;

    @ApiModelProperty(value = "公示设置JSON")
    private String publicity;

    @ApiModelProperty(value = "催办设置JSON")
    private String hasten;

    // 以下为前端自定义属性

    @ApiModelProperty(value = "表单布局名称")
    private String formLayoutName;

    @ApiModelProperty(value = "打印布局")
    private String printLayout;

}
